Skip to content

Create volume

Request

Requires node-exec::modify permission.

Security
JWTAuthorizer
Path
clusterFQDNstringrequired

Node FQDN

Bodyapplication/json

Volume

encryptedboolean

Encrypted

namestring

Volume name

Example:"myvolume"
curl -i -X POST \
  'https://apidocs.trustgrid.io/_mock/v2/cluster/{clusterFQDN}/exec/volume' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "encrypted": true,
    "name": "myvolume"
  }'

Responses

OK

Response
No content